<ol class="breadcrumb">
    <li><a href="#">一元中奖</a></li>
    <li><a href="/activity/list">活动管理</a></li>
    <li>新增活动</li>
</ol>
<div class="panel panel-default">
    <div class="panel-heading">
        <span class="glyphicon glyphicon-pencil"></span>
        <span class="panel-title">请填写活动信息</span>
    </div>
    <div class="panel-body">
        <form action="/activity/add" method="post" enctype="multipart/form-data" class="form-horizontal" role="form"
              style="padding-top: 15px;">


            <div class="form-group">
                <label for="firstname" class="col-sm-2 control-label">活动名称</label>

                <div class="col-sm-10">
                    <input type="text" class="form-control" id="name" name="name"
                           placeholder="请输入活动名称">
                </div>
            </div>

            <div class="form-group">
                <label for="lastname" class="col-sm-2 control-label">活动地址</label>

                <div class="col-sm-10">
                    <input type="text" class="form-control" id="description" name="url"
                           placeholder="请输入活动地址">
                </div>
            </div>

            <div class="form-group">
                <label for="lastname" class="col-sm-2 control-label">活动描述</label>

                <div class="col-sm-10">
                    <input type="text" class="form-control" id="description" name="description"
                           placeholder="请输入活动描述">
                </div>
            </div>

            <div class="form-group">
                <label for="lastname" class="col-sm-2 control-label">活动主图</label>

                <div class="col-sm-10">
                    <label class="sr-only" for="inputfile">文件输入</label>
                    <input type="file" id="inputfile" name="thumb" class="form-control">
                </div>
            </div>

            <div class="form-group">
                <label for="lastname" class="col-sm-2 control-label">是否微信显示</label>

                <div class="col-sm-10">
                    <label class="checkbox-inline">
                        <input type="radio" name="isView" id="status1"
                               value="0" checked>是
                    </label>
                    <label class="checkbox-inline">
                        <input type="radio" name="isView" id="status2"
                               value="1">否
                    </label>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-2">
                    <button type="submit" class="btn btn-success btn-block">确认提交</button>
                </div>
            </div>
        </form>
    </div>
</div>